package ro.upt.ac.cstaicu.analyze;

import java.util.ArrayList;
import java.util.Collection;

import ro.upt.ac.cstaicu.execution.TestResult;

/**
 * This is the base class for an hierarchy of classes that contains algorithms
 * for ranking the predicates in the instrumented class.
 * 
 * @author Cristian-Alexandru STAICU
 * 
 */
public interface FaultLocalisationTechnique {

	ArrayList<FaultLocalizationEntity> rankEntities(Collection<Entity> loggedEntities, Collection<TestResult> collection);

	Collection<FaultLocalizationEntity> rankSingleErrorEntities(
			Collection<Entity> entities,
			ArrayList<TestResult> testResults, TestResult error);

}
